﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WoChu.CF.Base;
using WoChu.RfClient.Entity;
using System.Data;

namespace WoChu.RfClient.Duty
{
    [ServiceName(Name="OffShelvesOrder")]
    public interface IOffShelvesOrder
    {
        [Mapping(MethodUrl = "GetOffCellNo?userID={0}")]
        ResultModel<List<OffShelvesInfo>> GetOffCellNo(string userID);

        [Mapping(MethodUrl = "GetOffShelvesInfo?cellNo={0}&batchNo={1}&userID={2}&offShelvesDate={3}")]
        ResultModel<List<OffShelvesInfo>> GetOffShelvesInfo(string cellNo, string batchNo, string userID, DateTime offShelvesDate);

        [Mapping(MethodUrl = "SetOffShelvesState?setType={0}")]
        ResultModel<bool> SetOffShelvesState(string setType, List<OffShelvesInfo> lstOffShelves);

        [Mapping(MethodUrl = "SetOffShelves?userID={0}&1=1")]
        ResultModel<bool> SetOffShelves(string userID, List<OffShelvesInfo> lstOffShelves);
  
    }
}
